﻿using System.Collections.Generic;
using System.Data;
using ZilLion.Service.Crm.ModelBase.EntityBase.Error;

namespace ZilLion.Service.WebInfrastructure.Exception
{
    public class ProcLogicException : System.Exception
    {
        public ProcLogicException(string msg, ErrorModel errormodel, Dictionary<string, DataTable> resultData)
            : base(msg)
        {
            ErrorModel = errormodel;
            ResultData = resultData;
        }

        public ErrorModel ErrorModel { get; set; }
        public Dictionary<string, DataTable> ResultData { get; set; }
    }
}